package com.eoner.baselibrary.bean.aftersale;

import com.eoner.baselibrary.bean.purchase.PurchaseSellerBean;

import java.util.List;

/**
 * @auther hjian
 * @date 2020/9/28.
 */
public class AfterSalePurchaseItemBean {

    private String id;
    private String refund_no;
    private String order_id;
    private String order_product_id;
    private String refund_type;
    private String refund_type_label;
    private String create_at;
    private String status;
    private String status_label;
    private String refund_amount;
    private String refund_mode;
    private PurchaseSellerBean seller;
    private ButtonBean button;
    private List<ProductPromotionItemBean> products;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRefund_no() {
        return refund_no;
    }

    public void setRefund_no(String refund_no) {
        this.refund_no = refund_no;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getOrder_product_id() {
        return order_product_id;
    }

    public void setOrder_product_id(String order_product_id) {
        this.order_product_id = order_product_id;
    }

    public String getRefund_type() {
        return refund_type;
    }

    public void setRefund_type(String refund_type) {
        this.refund_type = refund_type;
    }

    public String getRefund_type_label() {
        return refund_type_label;
    }

    public void setRefund_type_label(String refund_type_label) {
        this.refund_type_label = refund_type_label;
    }

    public String getCreate_at() {
        return create_at;
    }

    public void setCreate_at(String create_at) {
        this.create_at = create_at;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus_label() {
        return status_label;
    }

    public void setStatus_label(String status_label) {
        this.status_label = status_label;
    }

    public String getRefund_amount() {
        return refund_amount;
    }

    public void setRefund_amount(String refund_amount) {
        this.refund_amount = refund_amount;
    }

    public String getRefund_mode() {
        return refund_mode != null?refund_mode:"";
    }

    public void setRefund_mode(String refund_mode) {
        this.refund_mode = refund_mode;
    }

    public PurchaseSellerBean getSeller() {
        return seller;
    }

    public void setSeller(PurchaseSellerBean seller) {
        this.seller = seller;
    }

    public ButtonBean getButton() {
        return button;
    }

    public void setButton(ButtonBean button) {
        this.button = button;
    }

    public List<ProductPromotionItemBean> getProducts() {
        return products;
    }

    public void setProducts(List<ProductPromotionItemBean> products) {
        this.products = products;
    }

    public static class ButtonBean {

        private String view_btn;
        private String online_service_btn;

        public String getView_btn() {
            return view_btn;
        }

        public void setView_btn(String view_btn) {
            this.view_btn = view_btn;
        }

        public String getOnline_service_btn() {
            return online_service_btn;
        }

        public void setOnline_service_btn(String online_service_btn) {
            this.online_service_btn = online_service_btn;
        }
    }

}
